/* Created by web-design Ver 1.0.9 */
import fetch from '@/utils/fetch'
const baseUrl = ''
export default {
    // 提交
    flowSubmit (params = {}) {
        return fetch(baseUrl + '/api/flowSubmit', params, { method: 'post' })
    },
    // 撤回
    flowWithdraw (params = {}) {
        return fetch(baseUrl + '/api/flowWithdraw', params, { method: 'post' })
    },
    // 获取当前人工任务的下一节点列表
    flowNextStep (params = {}) {
        return fetch(baseUrl + '/api-workflow/procModel/getNextNodeList', params, { method: 'post' })
    },
    // 下一处理人
    flowNextHandler (params = {}) {
        return fetch(baseUrl + '/api-workflow/procModel/getNextHandlerList', params, { method: 'post' })
    }
}
